package demo.dao;

import demo.entity.Task;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Controller;

import java.util.List;

@Mapper
public interface TaskDao {
List<Task> findAll();
List<Task> findByClzno(String clzno);
List<Task> findByTea(String role);
int del(Integer kid);
int add(Task task);
List<Task> findByTeacher(Integer uid);
}
